package com.controller;

import com.comm.LogAnno;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class myController {
    @LogAnno(OperateType =  "自定义接口")
    @RequestMapping(value = "/myCon",method = RequestMethod.GET)
    public String myContro(String username){
        System.out.println("接受访问接口时的参数："+username);
        return "返回数据";
    }

}
